xen: remove nr_irqs_gsi from generic code
authorIan Campbell <ian.campbell@citrix.com>
Wed, 19 Dec 2012 16:04:49 +0000 (16:04 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 19 Dec 2012 16:04:49 +0000 (16:04 +0000)
commit2a80634d675bff85c06b684e4d2f0d65c4e7cbe9
tree4e017905932ffd2ba377da30cf1bfc92a6e57b51
parentf9e681d3d1b8fa4900acf5af588599d0892128d0
xen: remove nr_irqs_gsi from generic code

The concept is X86 specific.

AFAICT the generic concept here is the number of static physical IRQs
which the current hardware has, so call this nr_static_irqs.

Also using "defined NR_IRQS" as a standin for x86 might have made
sense at one point but its just cleaner to push the necessary
definitions into asm/irq.h.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/dummy.S
xen/common/domain.c
xen/include/asm-arm/irq.h
xen/include/asm-x86/irq.h
xen/include/xen/irq.h
xen/xsm/flask/hooks.c